package com.baobao_jk.tutorialmod.blocks;

import net.minecraft.block.SoundType;
import net.minecraft.block.material.Material;

public class RubyBlock extends BlockBase{

    public RubyBlock(String name, Material material) {

        super(name, material);
        setSoundType(SoundType.METAL); //设置路过方块声音
        setHardness(5.0F); //设置硬度
        setResistance(15.0F); //设置爆炸抗性
        setHarvestLevel("pickaxe", 2); //设置获取工具
        setLightLevel(1.0F); //设置方块光源
        //setBlockUnbreakable(); 设置方块不可被破坏
    }

}
